<?php

return [
    // API默认输出类型为json
    'default_return_type' => 'json',

    // 安全配置
    'secure' => [
        // 生成token使用的盐
        'token_salt' => 'BXRpHZDhrTgQ'
    ],

    // 设置
    'setting' => [
        // token过期时间，2个小时
        'token_expire_in' => 7200,
        // 刷新token过期时间，2个半小时过期
        'refresh_expire_in' => 9000,
        // 分页条数
        'page_size' => 10
    ],
    // 微信
    'wxconfig' => [
        'app_id' => 'wxd65d8e8fa81ed7cc',
        'appsecret' => '268e69e5c3db10b425817b14bb41dce4',
    ],
    
    // 支付宝
    'alipayconfig' => [
        'appid'=>'2019082366365784',
        'rsaPrivateKey'=>'MIIEpAIBAAKCAQEAhZIHRS9ryO9qPUTpvboZPjIWvdw5LYlkhzYfi46zRIQcSW9A+yuTLjqLpgGgKwhmyEOlG7qUsy986PB1Avy+W9awRs3rDGe3FjiK3TMPEmXBXzXxQHTWntR4ydsCN1IAuIwiDUHwz+88ueIjJqrGQFcpk+5iSb9JTz0cBOpzXnw40qhXSzOaa6G/kny7CYB+debldtFssjYTVK2RnC/JeB31MoA7zgIFHfzccpqBGNJNWN8Y328YjWhked4mEDsgOL0XZhx4t2LtJhfuXUlYLtQKWZwjSO7irokRGz/rGjfarSz12Gi15Yy8AY8+OYohWNG8mrjMWBZaiQi2fDENQQIDAQABAoIBAEtoSLB3eCtldp4GdMuG789cKdigJqudoGJxXNfGBVEOIIYYyB/E1v/HT6W1zz3cLWKsRd9ks6SBj8xWTEkWdUWV68jdYfCL8SIbY9JDjCO/zK663mucSro6i8Kx4QtoQT3u5x6C9rf9gVQT5fJjgS87xh5c+6JU2sdgYZwo3F8fgmvJ4DtS2E73efiSjq/K4ZOEtucJq+R+MJaDVVypculKda6ycKZ/94OCbXdTgjNGDyGn6obXW/UF/vb5YIOumeUres4b4B0g6TjxQMSM8c2Ea80jqbpbFA4S18rG+MxBoBL74vb0ruQic8/S2dKITQN0c1teDxqJifxAEW29J10CgYEAzTeYPnWhh1JHaXtOeXsaTWOuXewt50yfEqkqkth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xuyFiedYCbdE4fu+zgLTfrRodoyecZnLv9yCON+kZvJQ8WJisYLbsae3YnFSqs2XtKVlWflmyRDQrVEUink8cefqW7wUtrm67JhZ4sUE2HpwNTRZIxj+pUYUzF847MeKCCHSeBuXBM1FcEh8T80nm7pbO9OpcTwIDAQAB',
        'apiVersion'=>'1.0',
        'charset'=>'utf-8',
        'format'=>'JSON',
        'signType'=>'RSA2',
        'subject'=>'充值',
        'gatewayUrl' => 'https://openapi.alipay.com/gateway.do',
        'timeout_express'=>'90m',
        'product_code'=>'QUICK_MSECURITY_PAY',
        'callbackUrl'=>'http://xyz.leaf-tech.net'
    ],
];